home *** CD-ROM | disk | FTP | other *** search
/ Spiceworld The Movie - Interactive CD-ROM / Spiceworld The Movie: Interactive CD-ROM.iso / pc / elements / spicetwo.dir / scripts_92.ls < prev    next >
Encoding:
Text File  |  1997-12-04  |  649 b   |  28 lines

  1. on prepareFrame
  2.   global LOOPFRAME, VIDVOLUME, BOMBRATE
  3.   if not (LOOPFRAME = the frameLabel) then
  4.     initialiseFrame()
  5.     set the visible of sprite 54 to 0
  6.     set the visible of sprite 51 to 0
  7.     set BOMBRATE to the movieRate of sprite 54
  8.     set the movieRate of sprite 54 to 0
  9.     set the locV of sprite 3 to 290 - (VIDVOLUME * 105 / 256)
  10.     startTimer()
  11.     playQTVideo()
  12.   end if
  13. end
  14.  
  15. on enterFrame
  16.   if the timer > 60 then
  17.     set the visible of sprite 5 to not (the visible of sprite 5)
  18.     startTimer()
  19.   end if
  20.   if the movieRate of sprite 6 = 0 then
  21.     returnToMainGame(the frameLabel)
  22.   end if
  23. end
  24.  
  25. on exitFrame
  26.   go(the frame)
  27. end
  28.